package com.wyix.domain;

import java.time.LocalDateTime;

/**
 * @author wangdx
 * @since 2025/8/5
 */
public class Order {
    private String orderId;
    private double price;
    private LocalDateTime createTime;
    private boolean isPaid;

    public Order(String orderId, double price, LocalDateTime createTime, boolean isPaid) {
        this.orderId = orderId;
        this.price = price;
        this.createTime = createTime;
        this.isPaid = isPaid;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public boolean isPaid() {
        return isPaid;
    }

    public void setPaid(boolean paid) {
        isPaid = paid;
    }
}
